package com.tools.web.interceptor.auth;

import com.tools.common.object.Note;

/**
 * 枚举 - 用户类型枚举
 * */
public class LoginUserType {

    @Note("后台管理系统用户")
    public static final LoginUserType SYS = new LoginUserType("sys");

    @Note("前台网站用户")
    public static final LoginUserType WEB = new LoginUserType("web");

    @Note("小程序用户")
    public static final LoginUserType MINIAPP = new LoginUserType("miniapp");

    @Note("APP 用户")
    public static final LoginUserType APP = new LoginUserType("web");


    protected LoginUserType(String value) {
        this.value = value;
    }


    private final String value;

    public String getValue() {
        return value;
    }

    @Override
    public String toString() {
        return value;
    }
}
